package com.lpf.swaggerdemo.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("包装类")
public class Wrapper<V> {

    @ApiModelProperty(value = "扩展信息", dataType = "String")
    private String extension;

    @ApiModelProperty(value = "内部数据")
    private V innerResult;

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public V getInnerResult() {
        return innerResult;
    }

    public void setInnerResult(V innerResult) {
        this.innerResult = innerResult;
    }
}
